package com.example.demo.model.order.order.service;

import com.example.demo.Results.ResultClass;
import com.example.demo.model.index.index.entity.ShopCartReq;
import com.example.demo.model.order.order.entity.UserOrder;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.servlet.ModelAndView;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author STAHYW
 * @since 2021-10-23
 */
public interface UserOrderService extends IService<UserOrder> {

    ResultClass goMoney(List<ShopCartReq> jsonStr, Integer addressId, HttpServletRequest request);

    ModelAndView finish(Integer orderId);
}
